package com.ihrm.system.service.api;

import com.github.pagehelper.PageInfo;
import com.ihrm.domain.system.Role;

import java.util.List;



public interface RoleService {

    void add(Role role);


    void update(Role role);


    void deleteById(String id);


    Role findById(String id);


    PageInfo<Role> getRoleListPageInfo(String companyId, int page, int size);


    void assignPerms(String roleId, List<String> permIds);


    List<Role> findAll();

}
